package cn.duli.myvideo.mapper;

import cn.duli.myvideo.pojo.Variety;
import com.github.pagehelper.Page;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface VarietyMapper {

    List<Variety> queryLike(@Param("vName") String vName);

    Page<Variety> findAll();

    Variety findById(@Param("vId") Integer vId);

    void save(Variety variety);

    void update(Variety variety);

    void deleteById(@Param("vId") Integer vId);
}